package com.jingsheng.jingshengcity.mvp.model.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/5/9.
 */

public class TimeLineEntity implements Parcelable {

    private String mMessage;
    private String mDate;
    private int mStatus;

    public String getmMessage() {
        return mMessage;
    }

    public void setmMessage(String mMessage) {
        this.mMessage = mMessage;
    }

    public String getmDate() {
        return mDate;
    }

    public void setmDate(String mDate) {
        this.mDate = mDate;
    }

    public int getmStatus() {
        return mStatus;
    }

    public void setmStatus(int mStatus) {
        this.mStatus = mStatus;
    }

    public TimeLineEntity(String message, String date, int status) {
        this.mMessage = message;
        this.mDate = date;
        this.mStatus = status;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.mMessage);
        dest.writeString(this.mDate);
        dest.writeInt(this.mStatus);
    }

    public TimeLineEntity() {
    }

    protected TimeLineEntity(Parcel in) {
        this.mMessage = in.readString();
        this.mDate = in.readString();
        this.mStatus = in.readInt();
    }

    public static final Parcelable.Creator<TimeLineEntity> CREATOR = new Parcelable.Creator<TimeLineEntity>() {
        @Override
        public TimeLineEntity createFromParcel(Parcel source) {
            return new TimeLineEntity(source);
        }

        @Override
        public TimeLineEntity[] newArray(int size) {
            return new TimeLineEntity[size];
        }
    };
}
